package com.wjh.order.dto;

import java.io.Serial;
import java.util.List;

import com.wjh.order.entity.OrderDetailEntity;
import com.wjh.order.entity.OrderEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 订单及其详情
 * 
 * @author wenjianhai
 * @date 2023/6/26
 * @since JDK 17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class OrderDetailDto extends OrderEntity {
	@Serial
	private static final long serialVersionUID = -3745036555695251689L;

	/** 订单详情 */
	private List<OrderDetailEntity> detailList;
}
